<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>transform</title>
    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Sofia">
    <style>
        *{
           
  font-size: 22px;
        }
        .a{
            width: 200px;
            height: 200px;
            background-color: aquamarine;
            transform: translate(30px,50px);
            position:absolute;
            top:100px;
            left: 300px;
            transition-duration: 2s;
            transition-timing-function: ease-in-out;
        }

        .a:hover{
       transform: scale(1.2);
 transform: rotate(315deg); 
 font-family: "Sofia";

}
</style>
</head>
<body>
    <div class="a">
dcnkadjslixem7oi
    </div>
</body>
</html>